package com.vasthu.api.dao;

import com.vasthu.api.domain.Role;
import java.util.*;
import java.sql.*;

public interface RoleDAO {

    public boolean insertRole(Role role);

    public Role getRoleById(long roleId);

    public Role getRoleByName(String roleName);

    public boolean deleteRoleById(long roleId);

    public List<Role> getAllRoles();

    public boolean updateRole(Role role);
}